<fieldset id="form_delivery_infomation">
    <legend >Delivery information</legend>
    <div class="form_fieldset">
        <table>
            <tr>
                <td style="width: 110px;"><?php echo $form->labelEx($model, 'delivery_name'); ?></td>
                <td style="width: 320px;"><?php echo $form->textField($model, 'delivery_name', array('class' => 'form-delivery-text')); ?></td>
            </tr>
            <tr>
                <td><?php echo $form->labelEx($model, 'delivery_company'); ?></td>
                <td><?php echo $form->textField($model, 'delivery_company', array('class' => 'form-delivery-text')); ?></td>
            </tr>
            <tr>
                <td><label><?php echo $form->labelEx($model, 'delivery_address'); ?></td>
                <td><?php echo $form->textField($model, 'delivery_address', array('class' => 'form-delivery-text')); ?></td>
            </tr>

            <tr>
                <td><?php echo $form->labelEx($model, 'delivery_phone'); ?></td>
                <td><?php echo $form->textField($model, 'delivery_phone', array('class' => 'form-delivery-text')); ?></td>
            </tr>
            <tr>
                <td><?php echo $form->labelEx($model, 'delivery_date'); ?></td>
                <td>
                    <?php
                    $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                        'model' => $model,
                        'attribute' => 'delivery_date',
                        'options' => array(
                            'showAnim' => 'fold',
                            'dateFormat' => "dd-mm-yy",
                            'defaultDate' => "+1d",
                            'changeMonth' => true,
                            'changeYear' => true,
                            'yearRange' => "2013:2020",
                        ),
                        'htmlOptions' => array(
                            'style' => 'width:168px;'
                        ),
                    ));
                    ?>  
                </td>
            </tr>
            <tr>
                <td><?php echo $form->labelEx($model, 'delivery_message'); ?></td>
                <td><?php echo $form->textArea($model, 'delivery_message', array('class' => 'form-textarea')); ?></td>
            </tr>
        </table>
    </div>      
</fieldset>